<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<?php
require_once APPLICATION_PATH . '/models/Calendar/CalendarController.php';
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function changeGakunen(obj){
	hideGakunen();
	index = obj.selectedIndex+1;
	id = 'G' + index;
	document.getElementById(id).style.display = "block";
}

function hideGakunen()
{
	document.getElementById("G1").style.display = "none";
	document.getElementById("G2").style.display = "none";
	document.getElementById("G3").style.display = "none";
	document.getElementById("G4").style.display = "none";
	document.getElementById("G5").style.display = "none";
	document.getElementById("G6").style.display = "none";
}
-->
</script>
</head>
<body>
<table border="0"  bgcolor="#660066" cellpadding="1" cellspacing="1.5">
	<!-- トラックヘッダ -->
	<tr>
		<td style="background-color: #FFFF00;">POS</td>
		<td style="background-color: #FFFF00;">学年</td>
		<td style="background-color: #FFFF00;">氏名</td>
	</tr>
	<tr>
		<!-- ポジション選択 -->
		<td style="background-color: #FFFFFF;">
			<select>
				<option value="KP">KP</option>
				<option value="BK">BK</option>
				<option value="MD">MD</option>
				<option value="FW">FW</option>
			</select>
		</td>
		<td style="background-color: #FFFFFF;">
			<!-- 学年選択メニュー -->
			<select onchange="changeGakunen(this);">
				<option value="<?php echo Models_Calendar_Controller::VALUE_GAKUNEN1;?>">
					<?php echo Models_Calendar_Controller::VALUE_GAKUNEN1;?>
				</option>
				<option value="<?php echo Models_Calendar_Controller::VALUE_GAKUNEN2;?>">
					<?php echo Models_Calendar_Controller::VALUE_GAKUNEN2;?>
				</option>
				<option value="<?php echo Models_Calendar_Controller::VALUE_GAKUNEN3;?>">
					<?php echo Models_Calendar_Controller::VALUE_GAKUNEN3;?>
				</option>
				<option value="<?php echo Models_Calendar_Controller::VALUE_GAKUNEN4;?>">
					<?php echo Models_Calendar_Controller::VALUE_GAKUNEN4;?>
				</option>
				<option value="<?php echo Models_Calendar_Controller::VALUE_GAKUNEN5;?>">
					<?php echo Models_Calendar_Controller::VALUE_GAKUNEN5;?>
				</option>
				<option value="<?php echo Models_Calendar_Controller::VALUE_GAKUNEN6;?>">
					<?php echo Models_Calendar_Controller::VALUE_GAKUNEN6;?>
				</option>
			</select>
			<!-- 学年選択メニューＥＮＤ -->
		</td>
		<td id="G1" style="background-color: #FFFFFF;">
			<select><option>山田浩二</option></select>
		</td>
		<td id="G2" style="background-color: #FFFFFF; "><select><option>田中弥生</option></select></td>
		<td id="G3" style="background-color: #FFFFFF; "><select><option>田中弥生</option></select></td>
		<td id="G4" style="background-color: #FFFFFF; "><select><option>田中弥生</option></select></td>
		<td id="G5" style="background-color: #FFFFFF; "><select><option>田中弥生</option></select></td>
		<td id="G6" style="background-color: #FFFFFF; "><select><option>田中弥生</option></select></td>
	</tr>
</table>
</body>
</html>